<template>
  <div>
    <h1>分类列表</h1>
    <div class="typeList">
      <Item title="图片">
        <template>
          <img src="./assets/u=962361882,2281204904&fm=253&fmt=auto&app=138&f=JPEG.webp" style="width:100%" alt="">
        </template>

        <template v-slot:footer>
          <a href="###">点我查看详情</a>
        </template>
      </Item>
      <Item title="音乐">
        <template #default>
          <ul>
            <li>下课</li>
            <li>放学</li>
          </ul>
        </template>
      </Item>

      <Item title="视频">
        <template default>
          <video 
          src=""
          autoplay
          muted
          style="widthL 100%"
          ></video>
        </template>

        <template> 
          <p>好看就点个赞</p>           
        </template>
      </Item>
    </div>
  </div>
</template>

<script>
import Item from "./components/Item";
export default {
  name: "App",
  components: {
    Item,
  },
  data() {},
};
</script>

<style scoped>
.typeList {
  display: flex;
  justify-content: space-around;
}
</style>
